<?php
return [
    'type' => 'local',//qiniu/local
    'root_path' => app()->getRootPath(),
    'domain' => env('app.host', 'http://jz.test.top'),
    'storage' => app()->getRootPath() . 'public/storage',//存储目录
    'allow_ext' => ['jpg', 'jpeg', 'png', 'docx', 'doc', 'xlsx', 'xls', 'pptx', 'ppt', 'pdf', 'txt', 'rar', 'zip',
        'mp4', 'mp3', 'wav', 'wma', 'avi', 'rmvb', 'flv', 'mkv', 'mov', 'rm', '3gp',],//允许上传的文件后缀
    'allow_size' => 1024 * 1024 * 2,//2M
    'upload_url' => '/storage',
    'chunk_allow_ext' => ['jpg', 'jpeg', 'png', 'apk', 'wgt'],//允许分片上传的文件后缀
    'chunk_allow_size' => 1024 * 1024 * 50,//2M，分片上传文件大小限制
    'oss' => [
        'accessKey' => '',
        'secretKey' => '',
        'bucket' => '',
        'endpoint' => '',
        'domain' => '',
        'path' => '',
    ],
    'qiniu' => [
        'accessKey' => '',
        'secretKey' => '',
        'bucket' => '',
        'domain' => '',
        'path' => '',
    ]
];
